//
//  DatePickerView.h
//  YouOu
//
//  Created by weihong xuan on 2016/3/7.
//  Copyright © 2016年 weihong xuan. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^dateBlock)(NSInteger index, NSString * time);

@interface DatePickerView : UIView

@property (nonatomic, copy) dateBlock dateBlock;
@property (nonatomic, strong) UIPickerView * picker;

- (void)showWithTime:(NSString *)time;
- (void)dismiss;

@end
